/** 
 * @author Riccardo Manfrin [namesurname at gmail dot com]
 * 
 * @brief  Hereby dst is the receiver (control server)
 * while src is the sender (control client)
 * 
 */
enum {
	UDP,
	TCP
} transport;

enum {
	UC,
	BC,
	MC

} txmode;

void ds_init_data();
int ds_get_sockfd();
void ds_set_skt_txmode(int i);
void ds_set_transport(int t);
int ds_get_transport();
void ds_set_src_addr(char *ip);
int ds_set_dst_addr(char *ip);
void ds_get_dst_addr(char *ip);
void ds_set_dst_port(unsigned int p);
void ds_set_src_port(unsigned int p);
void ds_set_iface(char *ifc);
char *ds_get_iface();
int ds_open();
int ds_send(unsigned char *data, unsigned int length);
void ds_close();


